package com.ss.android.helper;

import com.ss.android.common.app.AbsApplication;

import java.io.File;

public class DebugChannelHelper {


    public static boolean checkBOEOpen() {
        File file = new File(AbsApplication.getApplication().getFilesDir(), "ttnet_boe.flag");
        return file.exists();
    }

    public static boolean isTestChannel() {
        try {
            String channlel = AbsApplication.getSAppContext().getChannel();
            if ("local_test".equals(channlel) || "local_dev".equals(channlel)) {
                return true;
            }
        } catch (Exception ignore) {
        }
        return false;
    }
}
